Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SDK_TYPE = undefined;
var $2ADUnity = require("ADUnity");
var i;
(function (e) {
  e[e.Byte = 0] = "Byte";
  e[e.WeChat = 1] = "WeChat";
  e[e.ViVo = 2] = "ViVo";
  e[e.Oppo = 3] = "Oppo";
  e[e.IOS = 4] = "IOS";
  e[e.XiaoMi = 5] = "XiaoMi";
  e[e.HuaWei = 6] = "HuaWei";
})(i = exports.SDK_TYPE || (exports.SDK_TYPE = {}));
var def_ADManager = /* */function () {
  function _ctor() {
    babel_classCallCheck(this, _ctor);
    this.isTest = true;
    this.isConsole = false;
    this.sdkType = i.Byte;
    this.version = 112;
  }
  babel_createClass(_ctor, [{
    key: "showVideo",
    value: function showVideo(e, t, a) {
      if (this.isTest) {
        console.log("showVideo");
        return void (e && e());
      }
      $2ADUnity.default.showVideo(e, t, a);
    }
  }, {
    key: "showVideo1",
    value: function showVideo1(e, t, a) {
      if (this.isTest) {
        console.log("showVideo1");
        return void (e && e());
      }
      $2ADUnity.default.showVideo1(e, t, a);
    }
  }, {
    key: "hideNativeBanner",
    value: function hideNativeBanner() {
      this.isTest || $2ADUnity.default.hideNativeBanner();
    }
  }, {
    key: "hideBanner",
    value: function hideBanner() {
      this.isTest || $2ADUnity.default.hideBanner();
    }
  }, {
    key: "showBanner",
    value: function showBanner() {
      this.isTest || $2ADUnity.default.showBanner();
    }
  }, {
    key: "showNative",
    value: function showNative(e) {
      this.isTest || $2ADUnity.default.showNative(e);
    }
  }, {
    key: "hideNative",
    value: function hideNative(e) {
      $2ADUnity.default.hideNative(e);
    }
  }, {
    key: "is_app",
    value: function is_app(e) {
      if (!this.isTest) {
        return $2ADUnity.default.is_app();
      }
      e && e();
    }
  }, {
    key: "checkFollowAwemeState",
    value: function checkFollowAwemeState(e) {
      if (this.isTest) {
        e && e(false);
      } else {
        $2ADUnity.default.checkFollowAwemeState(e);
      }
    }
  }, {
    key: "followAwemeUser",
    value: function followAwemeUser(e) {
      if (this.isTest) {
        e && e(true);
      } else {
        $2ADUnity.default.followAwemeUser(e);
      }
    }
  }, {
    key: "joinGroup",
    value: function joinGroup(e) {
      if (this.isTest) {
        e && e();
      } else {
        $2ADUnity.default.joinGroup(e);
      }
    }
  }, {
    key: "share",
    value: function share(e) {
      if (this.isTest) {
        e && e();
      } else {
        $2ADUnity.default.share(e);
      }
    }
  }, {
    key: "recorderStart",
    value: function recorderStart() {
      this.isTest || $2ADUnity.default.recorderStart();
    }
  }, {
    key: "recorderStop",
    value: function recorderStop() {
      this.isTest || $2ADUnity.default.recorderStop();
    }
  }, {
    key: "showInsert",
    value: function showInsert() {
      console.log("插屏===");
      this.isTest || $2ADUnity.default.showInsert();
    }
  }, {
    key: "addShortcut",
    value: function addShortcut() {
      this.isTest || $2ADUnity.default.addShortcut();
    }
  }, {
    key: "exitGame",
    value: function exitGame() {
      this.isTest || $2ADUnity.default.exitGame();
    }
  }, {
    key: "showToast",
    value: function showToast(e) {
      this.isTest || $2ADUnity.default.showToast(e);
    }
  }, {
    key: "requestSubscribeSystemMessage",
    value: function requestSubscribeSystemMessage(e) {
      this.isTest || $2ADUnity.default.requestSubscribeSystemMessage(e);
    }
  }, {
    key: "onAddToFavorites",
    value: function onAddToFavorites(e) {
      this.isTest || $2ADUnity.default.onAddToFavorites(e);
    }
  }, {
    key: "init",
    value: function init() {}
  }], [{
    key: "instance",
    get() {
      this._instance || (this._instance = new _ctor());
      return this._instance;
    }
  }]);
  return _ctor;
}();
exports.default = def_ADManager;
def_ADManager._instance = null;